package com.site.wisdom_construction.responseEntity;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Description
 * @Author  daiyifei
 * @Date 2021-11-18
 */
public class UserLoginResult {
    /** 用户表ID */
    @ApiModelProperty(value = "用户表ID", name = "id")
    private Integer id;

    /** 项目id */
    @ApiModelProperty(value = "项目id", name = "projectId")
    private Integer projectId;

    /** 项目名称 */
    @ApiModelProperty(value = "项目名称", name = "projectName")
    private String projectName;

    /** 联系人姓名 */
    @ApiModelProperty(value = "联系人姓名", name = "contactsName")
    private String contactsName;

    /** 联系人手机号 */
    @ApiModelProperty(value = "联系人手机号", name = "contactsPhone")
    private String contactsPhone;

    /** 账号 */
    @ApiModelProperty(value = "账号", name = "account")
    private String account;

    /** 项目开始时间 */
    @ApiModelProperty(value = "项目开始时间", name = "projectStartTime")
    private Date projectStartTime;

    /** 项目结束时间 */
    @ApiModelProperty(value = "项目结束时间", name = "projectEndTime")
    private Date projectEndTime;

    /** 父ID */
    @ApiModelProperty(value = "父ID", name = "fatherId")
    private Integer fatherId;

    /** 等级 */
    @ApiModelProperty(value = "等级", name = "leave")
    private String leave;

    /** 是否有子类 */
    @ApiModelProperty(value = "是否有子类", name = "isparent")
    private String isparent;

    /** 状态(0:不可用 1:可用 2:已过期) */
    @ApiModelProperty(value = "状态(0:不可用 1:可用 2:已过期)", name = "status")
    private String status;

    public UserLoginResult() {
        super();
    }

    public UserLoginResult(Integer id, Integer projectId, String projectName, String contactsName, String contactsPhone, String account, Date projectStartTime, Date projectEndTime, Integer fatherId, String leave, String isparent, String status) {
        this.id = id;
        this.projectId = projectId;
        this.projectName = projectName;
        this.contactsName = contactsName;
        this.contactsPhone = contactsPhone;
        this.account = account;
        this.projectStartTime = projectStartTime;
        this.projectEndTime = projectEndTime;
        this.fatherId = fatherId;
        this.leave = leave;
        this.isparent = isparent;
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getContactsName() {
        return contactsName;
    }

    public void setContactsName(String contactsName) {
        this.contactsName = contactsName;
    }

    public String getContactsPhone() {
        return contactsPhone;
    }

    public void setContactsPhone(String contactsPhone) {
        this.contactsPhone = contactsPhone;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Date getProjectStartTime() {
        return projectStartTime;
    }

    public void setProjectStartTime(Date projectStartTime) {
        this.projectStartTime = projectStartTime;
    }

    public Date getProjectEndTime() {
        return projectEndTime;
    }

    public void setProjectEndTime(Date projectEndTime) {
        this.projectEndTime = projectEndTime;
    }

    public Integer getFatherId() {
        return fatherId;
    }

    public void setFatherId(Integer fatherId) {
        this.fatherId = fatherId;
    }

    public String getLeave() {
        return leave;
    }

    public void setLeave(String leave) {
        this.leave = leave;
    }

    public String getIsparent() {
        return isparent;
    }

    public void setIsparent(String isparent) {
        this.isparent = isparent;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "{" +
                "id=" + id +
                ", projectId=" + projectId +
                ", projectName='" + projectName + '\'' +
                ", contactsName='" + contactsName + '\'' +
                ", contactsPhone='" + contactsPhone + '\'' +
                ", account='" + account + '\'' +
                ", projectStartTime=" + projectStartTime +
                ", projectEndTime=" + projectEndTime +
                ", fatherId=" + fatherId +
                ", leave='" + leave + '\'' +
                ", isparent='" + isparent + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
